﻿<?xml version="1.0" encoding="utf-8" ?>
<content>
	<mainContent>
		<![CDATA[
		<h2>Shrinking Your JavaScript.</span></h2>
		<p>As well as registering your JavaScript inlcudes, ScriptAide can be used to register and at the same time compress your JavaScript files. Compression is based on the excellent compressor developed by <a href="http://dean.edwards.name/packer/" class="newwindow">Dean Edwards</a>.</p>
			
		<pre class="csharpcode">
ScriptAide.CurrentContext.RegisterCompressedInclude(<span class="str">"global.js"</span>, <span class="str">"~/js/global.js"</span>);

ScriptAide.CurrentContext.RegisterCompressedInclude(<span class="str">"global.js"</span>, <span class="str">"~/js/global.js"</span>, <span class="str">"~/compressed-js/global.js"</span>);</pre>

		]]>
	</mainContent>

	<secondaryContent>
		<![CDATA[
		]]>
	</secondaryContent>
</content>